﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoachingOrganizer.Logic.Models.Tools.MoneyCalculation
{
    public class MoneyFlowItemNameSuggestionModel
    {
        private readonly string _suggestedName;
        private readonly bool _forStableItems;
        private int _frequency;

        public int Frequency
        {
            get { return _frequency; }
            set { _frequency = value; }
        }

        public string SuggestedName
        {
            get { return _suggestedName; }
        }

        public bool ForStableItems
        {
            get { return _forStableItems; }
        }

        internal Action ActivateSuggestionDelegate;

        public MoneyFlowItemNameSuggestionModel(string suggestedName, bool forStableItems)
        {
            _suggestedName = suggestedName;
            _forStableItems = forStableItems;
        }

        public void ActivateSuggestion()
        {
            ActivateSuggestionDelegate();
        }
    }
}
